<div>
	{include file='TError.tpl'}
{if $show eq 'logged'}
	<div class="flash">Přihlášen!</div>
{elseif $show eq 'form'}
	<form method="POST" name="loginform">
		<table border="0">
			<tr><td>Uživatel:</td><td><input type="Text" name="username" value="{$username}" /></td></tr>
			<tr><td>Heslo:</td><td><input type="Password" name="password" /></td></tr>
			<tr><td></td><td><input type="submit" name="login" value="Přihlásit" /></td></tr>
		</table>
	</form>
{/if}
</div>